package com.eportal.exception;


public class MdKnownRunTimeException extends RuntimeException{


	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	int errorCode = -999;
	
	public int getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(int errorCode) {
		this.errorCode = errorCode;
	}
	public MdKnownRunTimeException(Exception e) {
		super(e);
	}

	public MdKnownRunTimeException(String msg){
		super(msg);
	}
	public MdKnownRunTimeException(int errorCode){
		this.errorCode = errorCode;
	}
	
	public MdKnownRunTimeException(int errorCode,String msg){
		super(msg);
		this.errorCode = errorCode;
	}
	
	public MdKnownRunTimeException(int errorCode,Throwable exception){
		super(exception);
		this.errorCode = errorCode;
	}
	
	public MdKnownRunTimeException(String msg,Throwable cause){
		super(msg,cause);
	}
	
	public MdKnownRunTimeException(int errorCode,String msg,Throwable cause){
		super(msg,cause);
		this.errorCode = errorCode;
	}

	


}
